package com.crm.common.constant;

/**
 * @ Author ：pym
 * @ Date   ：2021/9/15 14:13
 */
public class EnterpriseWechatParameters {
    /**
     * 企业微信的CorpID
     */
    public final static String corpId = "wx7ee48e8ffb8b9a59";
    /**
     * 授权方的网页应用ID
     */
    public final static int agentId = 1000035;
    /**
     * 应用的凭证密钥
     */
    public final static String secret = "Bkxkxvw4YGx2qOX198l1luWI16EsDngI6v7mvNUNmiY";
    /**
     * 获取AccessToken
     */
    public static String getAccessTokenUrl = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=ID&corpsecret=SECRET";

    /**
     * 获取访问用户身份
     */
    public static String getUserInfoUrl = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token=ACCESS_TOKEN&code=CODE";

    /**
     * 读取成员
     */
    public static String getUserUrl = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid=USERID";

}
